package com.kkwrite.regimen.common.entity.dto.item;

import java.util.ArrayList;
import java.util.List;

import com.kkwrite.regimen.common.entity.dto.module.ModuleItemDTO;
import com.kkwrite.regimen.common.entity.dto.picture.PictureDTO;

/** 
 * 服务项目详情 DTO
 *
 * @author Soosky Wang
 * @date 2018年7月20日 下午5:11:13 
 * @version 1.0.0
 */
public class ItemDetailDTO extends ModuleItemDTO {

	private Long itemId;
	private Integer itemType;
	private String itemName;
	private String itemKeywords;
	private Short duration;
	private Float originalPrice;
	private String originalPriceNote;
	private Float discountPrice;
	private String discountPriceNote;
	private Float discount;
	private Short itemStar;
	private Short handpicked;
	private String reminds;
	private Short hasInsurance;
	private Float saleAmount;
	private Integer sumInsured;
	private String itemNote;
	private Integer reviewCount;
	private Integer totalPages;
	private Long totalElements;
	
	// 店家总数（单独查询）
	private Short shopAmount;
	// 项目配图（额外查询）
	private List<PictureDTO> pictures = new ArrayList<>();
	// 用户代言（额外查询）
	//private List<SpokesmanDTO> spokesmans = new ArrayList<>(); 

	public Long getItemId() {
		return itemId;
	}

	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemKeywords() {
		return itemKeywords;
	}

	public void setItemKeywords(String itemKeywords) {
		this.itemKeywords = itemKeywords;
	}

	public Short getDuration() {
		return duration;
	}

	public void setDuration(Short duration) {
		this.duration = duration;
	}

	public Float getOriginalPrice() {
		return originalPrice;
	}

	public void setOriginalPrice(Float originalPrice) {
		this.originalPrice = originalPrice;
	}

	public String getOriginalPriceNote() {
		return originalPriceNote;
	}

	public void setOriginalPriceNote(String originalPriceNote) {
		this.originalPriceNote = originalPriceNote;
	}

	public Float getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(Float discountPrice) {
		this.discountPrice = discountPrice;
	}

	public String getDiscountPriceNote() {
		return discountPriceNote;
	}

	public void setDiscountPriceNote(String discountPriceNote) {
		this.discountPriceNote = discountPriceNote;
	}

	public Float getDiscount() {
		return discount;
	}

	public void setDiscount(Float discount) {
		this.discount = discount;
	}

	public Short getItemStar() {
		return itemStar;
	}

	public void setItemStar(Short itemStar) {
		this.itemStar = itemStar;
	}

	public Short getHandpicked() {
		return handpicked;
	}

	public void setHandpicked(Short handpicked) {
		this.handpicked = handpicked;
	}

	public String getReminds() {
		return reminds;
	}

	public void setReminds(String reminds) {
		this.reminds = reminds;
	}

	public Short getHasInsurance() {
		return hasInsurance;
	}

	public void setHasInsurance(Short hasInsurance) {
		this.hasInsurance = hasInsurance;
	}

	public Integer getSumInsured() {
		return sumInsured;
	}

	public void setSumInsured(Integer sumInsured) {
		this.sumInsured = sumInsured;
	}

	public Float getSaleAmount() {
		return saleAmount;
	}

	public void setSaleAmount(Float saleAmount) {
		this.saleAmount = saleAmount;
	}

	public String getItemNote() {
		return itemNote;
	}

	public void setItemNote(String itemNote) {
		this.itemNote = itemNote;
	}

	public Integer getReviewCount() {
		return reviewCount;
	}

	public void setReviewCount(Integer reviewCount) {
		this.reviewCount = reviewCount;
	}

	public List<PictureDTO> getPictures() {
		return pictures;
	}

	public void setPictures(List<PictureDTO> pictures) {
		this.pictures = pictures;
	}

	public Integer getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(Integer totalPages) {
		this.totalPages = totalPages;
	}

	public Long getTotalElements() {
		return totalElements;
	}

	public void setTotalElements(Long totalElements) {
		this.totalElements = totalElements;
	}

	public Short getShopAmount() {
		return shopAmount;
	}

	public void setShopAmount(Short shopAmount) {
		this.shopAmount = shopAmount;
	}

	public Integer getItemType() {
		return itemType;
	}

	public void setItemType(Integer itemType) {
		this.itemType = itemType;
	}

	@Override
	public String toString() {
		return "ItemDetailDTO [itemId=" + itemId + ", itemType=" + itemType
				+ ", itemName=" + itemName + ", itemKeywords=" + itemKeywords
				+ ", duration=" + duration + ", originalPrice=" + originalPrice
				+ ", originalPriceNote=" + originalPriceNote
				+ ", discountPrice=" + discountPrice + ", discountPriceNote="
				+ discountPriceNote + ", discount=" + discount + ", itemStar="
				+ itemStar + ", handpicked=" + handpicked + ", reminds="
				+ reminds + ", hasInsurance=" + hasInsurance + ", saleAmount="
				+ saleAmount + ", sumInsured=" + sumInsured + ", itemNote="
				+ itemNote + ", reviewCount=" + reviewCount + ", totalPages="
				+ totalPages + ", totalElements=" + totalElements
				+ ", shopAmount=" + shopAmount + ", pictures=" + pictures + "]";
	}


}
